package top.toptimus.dto.sfExpress;

/**
 *
 */
public enum ErrorCode {
    repeatOrder("重复下单","8016"),
    successOrder("正常下单","S0000");
    private String name;
    private String code;

    ErrorCode(String name, String code) {
        this.name=name;
        this.code=code;
    }
    //接口方法
    public String getName() {
        return this.name;
    }
    public String getCode(){
        return this.code;
    }
}
